package com.rocsun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rocsun.entity.UserDO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表（存储系统用户基本信息） Mapper 接口
 * </p>
 *
 * @author rocsun
 * @since 2025-11-03 00:17:37
 */
public interface UserDAO extends BaseMapper<UserDO> {

    @Delete("delete from user where id = #{id}")
    boolean physicalDelete(@Param("id") Long id);

}
